package com.zmn.oms.business.interfaces.order;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.bo.order.OrderBO;
import com.zmn.oms.model.dto.order.OrderDTO;

/**
 * @author sunlife
 * @date:2020/7/3 2:57 下午
 * description: 批量录单单订单简单处理
 */
public interface SimpleOrderBService {
    /**
     * 订单处理
     *
     * @param orderDTO
     * @throws OmsBaseException
     */
    void processOrder(OrderDTO orderDTO) throws OmsBaseException;

    /**
     * 新增订单
     *
     * @param orderDTO
     * @return
     */
    OrderBO insertOrder(OrderDTO orderDTO);
}
